package me.xiaoyan.java.spring.service;

import me.xiaoyan.java.spring.po.Link;

import java.util.List;

public interface LinkService {

    public void save(Link link);
    public List<Link> findList(int count);

    /**
     * 根据id查询数据
     * @param id
     * @return
     */
    public Link getLinkById(Integer id);
}
